export default {
  legend: {
    enabled: true,
    floating: true,
    align: 'right',
    verticalAlign: 'top',
    x: 0,
    y: 0,
    itemStyle: {
      color: '#fff'
    }
  },
  tooltip: {
    formatter: function () {
      if (this.key === 0) {
        return '范围小于0<br />' + this.y + '条'
      }
      return '范围:' + this.key + '<br />' + this.y + '条'
    }
  },
  chart: {
    type: 'column',
    reflow: true,
    backgroundColor: '#1c213e',
    options3d: {
      enabled: true,
      alpha: 15,
      beta: 0,
      depth: 50,
      viewDistance: 25
    },
    spacingTop: 28,
    spacingRight: 25,
    spacingLeft: 10,
    spacingBottom: 15
  },
  title: {
    text: ''
  },
  xAxis: {
    title: {
      text: '',
      x: 25,
      y: 7,
      align: 'high',
      style: {
        color: '#ffffff'
      },
      offset: 0
    },
    lineColor: '#41537d',
    labels: {
      style: {
        color: '#ffffff'
      }
    },
    gridLineColor: 'transparent'
  },
  yAxis: {
    min: 0,
    title: {
      text: '只',
      align: 'high',
      rotation: 0,
      style: {
        color: '#ffffff'
      },
      offset: 12,
      y: -13
    },
    lineColor: '#41537d',
    labels: {
      style: {
        color: '#ffffff'
      }
    },
    gridLineColor: 'transparent'
  },
  plotOptions: {
    column: {
      borderWidth: 0,
      showInLegend: false
    }
  },
  series: [{}, {}, {}, {}]
}
